package com.example.mushroom.service;

import com.example.mushroom.entity.Device;
import java.util.List;

public interface DeviceService {
    int insertDevice(Device device);
    Device selectDeviceById(Integer id);
    List<Device> selectAllDevices();
    int updateDevice(Device device);
    int deleteDeviceById(Integer id);
    List<Device> selectDevicesByPage(int offset, int limit);
}